package com.bobo.pojo;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@TableName("tz_user")
public class User {
  /**
   * 主键
   */
  @TableId
  private String userId;
  /**
   * 微信昵称
   */
  private String nickName;
  private String realName;
  private String userMail;
  private String loginPassword;
  private String payPassword;
  private String userMobile;
  @DateTimeFormat(pattern = "yyyy-MM-dd")
  private Date modifyTime;
  @DateTimeFormat(pattern = "yyyy-MM-dd")
  private Date userRegtime;
  private String userRegip;
  @DateTimeFormat(pattern = "yyyy-MM-dd")
  private Date userLasttime;
  private String userLastip;
  private String userMemo;
  private String sex;
  private String birthDate;
  /**
   * 微信头像URL
   */
  private String pic;
  private Integer status;
  private Integer score;
  private String openid;
  private String avatarUrl;

}
